#include "ShortestPath.hpp"
#include "tools.hpp"
#include <fmt/base.h>
#include <fmt/ranges.h>

int main()
{
    auto& ansi = lxj::OpenANSI::instance();
    ansi.set_mode(1).set_color(76);
    lxj::Time time;
    auto&     random = lxj::Random<int>::instance();

    std::vector<std::array<int, 3>> vec{
        {0, 1, 5}, {1, 2, 5}, {2, 3, 5}, {3, 4, 5}, {2, 3, 3}, {0, 2, 100}};
    int  city = 5, start = 0, end = 4, k_count = 1;
    auto ans = lxj::FlightPath2().getMinPrice(city, vec, start, end, k_count);
    fmt::print("{}", ans);

    fmt::print("\n");
    return 0;
}